*{
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
    color: #222;
    font-size: 12px;
}
ul,ol{
    list-style: none;
}
div{
    box-sizing: border-box;
}
body{
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana,"Microsoft yahei",STXihei,hei;
    color: #000;
    background: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}
.back{
    position: fixed;
    display: none;
    bottom: 50px;
    right: 20px;
    width: 39px;
    height: 39px;
}
.back img{
    width: 100%;
}
.search{
    display: flex;
    position: fixed;
    z-index: 999;
    max-width: 540px;
    min-width: 320px;
    width: 100%;
    height: 44px;
    top: 0;
    background-color: #f6f6f6;
}
.search .search-index{
    position: relative;
    flex: 1;
    height: 26px;
    border: 1px solid #ccc;
    margin: 9px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0, .2);
    font-size: 12px;
    color: #666;
    padding-left: 25px;
    line-height: 24px;
}
.search .search-index::before{
    content: " ";
    display: block;
    position: absolute;
    top: 5px;
    left: 5px;
    width: 15px;
    height: 14px;
    background: url(../images/sprite.png) no-repeat -56px -268px;
    background-size: 100px auto;
}
.search .user{
    width: 44px;
    height: 44px;
    font-size: 12px;
    color: #2eaae0;
    text-align: center;
}
.search .user::before{
    content: " ";
    display: block;
    width: 23px;
    height: 23px;
    background: url(../images/sprite.png) no-repeat -56px -186px;
    background-size: 100px auto;
    margin: 4px auto 0;
}

.focus{
    position: relative;
    padding-top: 44px;
    overflow: hidden;

}
.focus ul{
    width: 500%;
    margin-left: -100%;
}
.focus ul li{
    float: left;
    width: 20%;
}
.focus img{
    width: 100%;
}
.focus ol{
    position: absolute;
    bottom: 12px;
    right: 10px;
}
.focus ol li{
    float: left;
    width: 7px;
    height: 5px;
    border-radius: 3px;
    margin-right: 5px;
    border: 1px solid #fff;
    background-color: transparent;
}
.focus ol .current{
    width: 15px;
    background-color: #fff;
}
.local-nav{
    display: flex;
    height: 64px;
    margin: 3px 4px;
    background-color: #fff;
    border-radius: 8px;
}
.local-nav li{
    flex: 1;
}
.local-nav li a{
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
} 
.local-nav li a [class^="local"]{
    width: 32px;
    height: 32px;
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size: 32px;
}
.local-nav li a .local-icon2{
    background-position: 0 -32px;
}
.local-nav li a .local-icon3{
    background-position: 0 -64px;
}
.local-nav li a .local-icon4{
    background-position: 0 -96px;
}
.local-nav li a .local-icon5{
    background-position: 0 -128px;
}
nav{
    border-radius: 8px;
    overflow: hidden;
    margin: 3px 4px;
}
nav .nav-common{
    display: flex;
    height: 88px;
}
nav .nav-common:nth-child(1){
    background: -webkit-linear-gradient(left, #fa5a55,#fa994d)
}
nav .nav-common:nth-child(2){
    margin: 2px 0;
    background: -webkit-linear-gradient(left, #4B90ED, #53BCED);
}
nav .nav-common:nth-child(3){
    background: -webkit-linear-gradient(left, #34C2A9, #6CD559)
}
nav .nav-common .nav-item{
    flex: 1;
    display: flex;
    flex-direction: column;
}
nav .nav-common .nav-item:nth-child(2){
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
}
nav .nav-common .nav-item a{
    flex: 1;
    text-align: center;
    line-height: 44px;
    color: #fff;
    font-size: 14px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}
nav .nav-common .nav-item:nth-child(1){
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;
}
nav .nav-common .nav-item:nth-child(n+2) a:nth-child(1){
    border-bottom: 2px solid #fff;
}
.subnav{
    background-color: #fff;
    border-radius: 8px;
    margin: 3px 4px;
    display: flex;
    flex-wrap: wrap;
}
.subnav li{
    flex: 20%;
    padding: 3px 0;
}
.subnav li a{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.subnav li a .subnav-icon{
    width: 28px;
    height: 28px;
    background: url(../images/subnav-bg.png) no-repeat 0 0;
    background-size: 28px;
}
.sale{
    background-color: #fff;
    border-radius: 8px;
    margin: 3px 4px;
}
.sale .sale-head{
    height: 35px;
    position: relative;
    border-bottom: 1px solid #ccc;
}
.sale .sale-head::before{
    content: " ";
    display: block;
    position: absolute;
    top: 10px;
    left: 10px;
    width: 79px;
    height: 15px;
    background: url(../images/hot.png) no-repeat 0 -20px;
    background-size: 79px auto;
}
.sale .sale-head h2{
    text-indent: -999px;
    overflow: hidden;
}
.sale .sale-head .more{
    position: absolute;
    top: 5px;
    right: 10px;
    background : -webkit-linear-gradient(left, #ff506c,#ff6bc6);
    border-radius: 15px;
    padding: 3px 20px 3px 10px;
    color: #fff;
}
.sale .sale-head .more::after{
    content:"";
    display: block;
    position: absolute;
    top: 8px;
    right: 9px;
    width: 8px;
    height: 8px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
}
.sale .sale-bd .sale-row{
    display: flex;
    border-bottom: 1px solid #eee;
}
.sale .sale-bd .sale-row a{
    flex: 1;
}
.sale .sale-bd .sale-row a:nth-child(1){
    border-right: 1px solid #eee;
}
.sale .sale-bd .sale-row a img{
    width: 100%;
}
